package com.ruoyi.dailyoperations.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充值信息统计对象 account_recharge
 * 
 * @author ruoyi
 * @date 2024-09-14
 */
public class AccountRecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String username;

    /** 账户账号 */
    @Excel(name = "账户账号")
    private String userAccount;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private Long rechargeMoney;

    /** 充值日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "充值日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rechargeDate;

    /** 账号总金额 */
    @Excel(name = "账号总金额")
    private Long totalAccount;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setUserAccount(String userAccount) 
    {
        this.userAccount = userAccount;
    }

    public String getUserAccount() 
    {
        return userAccount;
    }
    public void setRechargeMoney(Long rechargeMoney) 
    {
        this.rechargeMoney = rechargeMoney;
    }

    public Long getRechargeMoney() 
    {
        return rechargeMoney;
    }
    public void setRechargeDate(Date rechargeDate) 
    {
        this.rechargeDate = rechargeDate;
    }

    public Date getRechargeDate() 
    {
        return rechargeDate;
    }
    public void setTotalAccount(Long totalAccount) 
    {
        this.totalAccount = totalAccount;
    }

    public Long getTotalAccount() 
    {
        return totalAccount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("username", getUsername())
            .append("userAccount", getUserAccount())
            .append("rechargeMoney", getRechargeMoney())
            .append("rechargeDate", getRechargeDate())
            .append("totalAccount", getTotalAccount())
            .toString();
    }
}
